[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-16 Thread Pablo Rodriguez via ntg-context
On 1/15/24 21:43, Mikael Sundqvist wrote: > Hi, > > Try this: > […] > \definebodyfontenvironment[16pt] > […] > Maybe some check will be added. (On the chat with Hans...) Many thanks for your help, Mikael. Your hint solved the issue and having a check that avoids the repo

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Henning Hraban Ramm
Am 15.01.24 um 21:43 schrieb Mikael Sundqvist: Try this: \definebodyfontenvironment[16pt] Yes, works. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
Hi, Try this: On Mon, Jan 15, 2024 at 6:17 PM Pablo Rodriguez via ntg-context wrote: > > Dear list, > > I have the following sample: > > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[coverface][rm][TeX Gyre Termes] \definebod

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Hans Hagen via ntg-context
On 10/21/2022 12:59 AM, Leah Neukirchen via ntg-context wrote: Hi, playing around with \definebodyfontenvironment with latest LMTX, I found this possibly buggy behavior: \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here \setupbodyfont[12pt] \starttext normal {\tx tx} {\small small

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Pablo Rodriguez via ntg-context
On 10/21/22 00:59, Leah Neukirchen via ntg-context wrote: > Hi, > > playing around with \definebodyfontenvironment with latest LMTX, > I found this possibly buggy behavior: > > \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here > \setupbodyfont[12pt] > \st

[NTG-context] Setting the size of \small

2022-10-20 Thread Leah Neukirchen via ntg-context
Hi, playing around with \definebodyfontenvironment with latest LMTX, I found this possibly buggy behavior: \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here \setupbodyfont[12pt] \starttext normal {\tx tx} {\small small} \stoptext With \definebodyfontenvironment[12pt][x=6pt] I can

[NTG-context] interlinespacing in margin notes – solved

2022-03-10 Thread Henning Hraban Ramm via ntg-context
usemodule[ipsum] \showframe \setuplayout[ width=100mm, rightmargin=50mm, rightmargindistance=6mm, ] \setupbodyfontenvironment[11pt][ em=italicface, text=11pt, small=8pt, interlinespace=14pt, ] \definebodyfontenvironment[8pt][interlinespace=8pt] \setupbodyfont[rm,11pt] \define\PlaceFoot

Re: [NTG-context] Font scaling via sa in LMTX

2022-01-21 Thread Rik Kabel via ntg-context
use numeric values instead of defined font size letters as a work-around, but that means lack of coordination with custom sizes in \definebodyfontenvironment. fixed in the next upload (which is a bit experimental in the sense that some low level consistency renaming happened which always has

Re: [NTG-context] Font scaling via sa in LMTX

2022-01-19 Thread Hans Hagen via ntg-context
size letters as a work-around, but that means lack of coordination with custom sizes in \definebodyfontenvironment. fixed in the next upload (which is a bit experimental in the sense that some low level consistency renaming happened which always has the danger of disabling some feature) Hans

Re: [NTG-context] Font scaling via sa in LMTX

2022-01-19 Thread Rik Kabel via ntg-context
, but that means lack of coordination with custom sizes in \definebodyfontenvironment. fixed in the next upload (which is a bit experimental in the sense that some low level consistency renaming happened which always has the danger of disabling some feature) Hans This is still a problem using

Re: [NTG-context] Font scaling via sa in LMTX

2021-12-01 Thread Hans Hagen via ntg-context
sizes in \definebodyfontenvironment. fixed in the next upload (which is a bit experimental in the sense that some low level consistency renaming happened which always has the danger of disabling some feature) Hans

[NTG-context] Font scaling via sa in LMTX

2021-11-30 Thread Rik Kabel via ntg-context
}\par \contextbanner \stoptext Produces different relevant output with each engine. I suppose one could use numeric values instead of defined font size letters as a work-around, but that means lack of coordination with custom sizes in \definebodyfontenvironment. -- Rik

Re: [NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Denis Maier via ntg-context
am 13.10.2021 um 17:52: Hi, I have this MWE: % \definebodyfontenvironment [9bp] [ normal=9bp, b=24bp, ] \setupbodyfont[9bp] \startTEXpage { \setuplocalinterlinespace[line=25.5bp

Re: [NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52: Hi, I have this MWE: % \definebodyfontenvironment     [9bp]     [     normal=9bp,     b=24bp,     ] \setupbodyfont[9bp] \startTEXpage

[NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Denis Maier via ntg-context
Hi, I have this MWE: % \definebodyfontenvironment [9bp] [ normal=9bp, b=24bp, ] \setupbodyfont[9bp] \startTEXpage { \setuplocalinterlinespace[line=25.5bp] %\setupinterlinespace[line

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
text rather than body text. In this case you change the font once at the start of the title page, afterwards you can use \bf and \it to change styles. \usebodyfont[heros] \definebodyfontenvironment [14pt] \starttext \startstandardmakeup [style={\switchtobodyfont[heros,14pt]}] The quick

Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt

2021-07-29 Thread Denis Maier via ntg-context
> > > See https://en.wikipedia.org/wiki/Point_(typography) > > > > Hraban > > Thanks for your help. That's already better. The base font size, and the > bigger > sizes are correct now. But it still does not work with the smaller sizes: > > % -

Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt

2021-07-20 Thread denis.maier
t now. But it still does not work with the smaller sizes: % --- \setupbodyfont[10bp] \definebodyfontenvironment [10bp] [xx=7bp, x=8.5bp, a=11.75bp, b=15bp, ] \starttext {\tfxx Smallest } % => expected 7pt

[NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt

2021-07-20 Thread denis.maier
target values... As you can see below the deviation is not so significant with the normal font size and bigger sizes, but more so with the smaller sizes. % -- \setupbodyfont[10pt] \definebodyfontenvironment

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
nis %- \setuplayout[grid=yes] \showgrid \showstruts \definefont [BigFont] [Bold at 20pt] [28pt] \definefontsize[e] % < added \definebodyfontenvironment [12pt] [e=20pt] % < added \definebodyfontenvironment [10pt

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
Font] [Bold at 20pt] [28pt] > > \definefontsize[e] % < added > \definebodyfontenvironment [12pt] [e=20pt] % < added > > \unprotect > \unexpanded\def\section_command#1#2{% >\framed [ > width=\textwidth, >

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
] \definefontsize[e] % < added \definebodyfontenvironment [12pt] [e=20pt] % < added \unprotect \unexpanded\def\section_command#1#2{% \framed [ width=\textwidth, frame=off, rulethickness=0pt, offs

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
] % < added \definebodyfontenvironment [12pt] [e=20pt] % < added \defineframed[myframed][ width=\textwidth, frame=off, rulethickness=0pt, offset=0pt, loffset=-0pt, foregroundstyl

Re: [NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Aditya Mahajan
hat special: it does automatic italic correction and changes the > alternative depending on the current alternative. For example, if the > current font alternative is normal (i.e. upright), \em switches to slanted; > and if the current font alternative is slanted, \em switches to normal." >

[NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Andres Conrado Montoya
nding on the current alternative. For example, if the current font alternative is normal (i.e. upright), \em switches to slanted; and if the current font alternative is slanted, \em switches to normal." And using \definebodyfontenvironment[default][em=italic] to use italic instead of slanted; fo

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread Wolfgang Schuster
does this by itself in most cases but it can fail). \definebodyfontenvironment [14pt] I attached a slightly modified version of your project structure to show a different way to organize documents. What I would change is to use a better section name for each article, e.g. \Article

Re: [NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread Wolfgang Schuster
small for the blockquoted text, and asked if I could simply indicate 10pt for 'x'. I tried by using the line: \definebodyfontenvironment[default] [x=10pt] but that did nothing to change things. I tried a few other possibilities as well, e.g. just adding the x=10pt after the em=italic

[NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread jbf
=2.4ex]},after={\blank}] My publisher thinks the default scaling of 'x' (0.8) is too small for the blockquoted text, and asked if I could simply indicate 10pt for 'x'. I tried by using the line: \definebodyfontenvironment[default] [x=10pt] but that did nothing to change things. I tried a few

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
and a snip of the failing result. \definebodyfontenvironment[13pt] [interlinespace=15pt] \setuplayout [backspace=0pt, topspace=30pt, width=middle, height=middle

[NTG-context] Disappearing font feature

2019-12-21 Thread Rik Kabel
. \definebodyfontenvironment[13pt] [interlinespace=15pt] \setuplayout [backspace=0pt, topspace=30pt, width=middle, height=middle, location=middle

Re: [NTG-context] Broken kerning if hz is turned on?

2019-06-02 Thread Hans Hagen
my thank you to you privately)! Your threshold=20 solved that particular case. But look at the following example: \definefontfeature[default][default][threshold=20,protrusion=quality,expansion=quality,lnum=yes,itlc=yes] \setupalign[hz,hanging,line,height] \definebodyfontenvironment[9bp][interlin

Re: [NTG-context] Broken kerning if hz is turned on?

2019-06-02 Thread Mikael P. Sundqvist
olved that particular case. But look at the following example: \definefontfeature[default][default][threshold=20,protrusion=quality,expansion=quality,lnum=yes,itlc=yes] \setupalign[hz,hanging,line,height] \definebodyfontenvironment[9bp][interlinespace=12bp] \setupbodyfont[lucidaot,9bp] \startt

Re: [NTG-context] follow up

2019-04-02 Thread Hans Hagen
] \definefontsize [e] \definebodyfontenvironment [default] [e=3.5] \starttext \strut\vfill \startalign[center] {\tfe conText is fun} \blank[10mm] {\em ( ijver & vlijt 8+ )} \stopalign \vfill\strut \stoptext this is the old version this is the new output With osx preview? How small can you

Re: [NTG-context] follow up

2019-04-02 Thread Floris van Manen
=empty, no] \setupbodyfontenvironment [default] [em=italic] \definefontfamily [myfamily] [serif] [TeX Gyre Termes] \setupbodyfont [myfamily, 10pt] \definefontsize [e] \definebodyfontenvironment [default] [e=3.5] \starttext \strut\vfill \startalign[center] {\tfe conText is fun} \blank[10mm] {\em

Re: [NTG-context] Lines in \showbodyfontenvironment

2019-02-17 Thread Tomas Hala
I have tested it on this code: \definebodyfontenvironment [default] % or size [text=10pt,a=2,d=5, % or other values ] \starttext ahoj {\bfa ahoj} {\bfd ahoj} ahoj \showbodyfontenvironment \stoptext Tomáš Sun, Feb 17, 2019 ve 06:02:53PM +0100 Wolfgang Schuster napsal

Re: [NTG-context] Lines in \showbodyfontenvironment

2019-02-17 Thread Wolfgang Schuster
Tomas Hala schrieb am 17.02.19 um 16:07: Hi all, I played with \definebodyfontenvironment and found the command \showbodyfontenvironment. Experimentally I changed parameters at \definebodyfontenvironment and I am not able to understand the logic of the table generated

[NTG-context] Lines in \showbodyfontenvironment

2019-02-17 Thread Tomas Hala
Hi all, I played with \definebodyfontenvironment and found the command \showbodyfontenvironment. Experimentally I changed parameters at \definebodyfontenvironment and I am not able to understand the logic of the table generated by the \showbodyfontenvironment. What is the meaning of lines

Re: [NTG-context] Scaling down symbols and emojis

2019-01-18 Thread Wolfgang Schuster
to match what ConTeXt does. The 'x' ratio is 0.835 and the 'xx' ratio is 0.6667. The default sizes (12pt, 14.4pt etc,) set the x and xx sizes to a fixed size which leads to differences and the scale factor. Below are the settings for the 12pt size from font-pre.mkiv: \definebodyfontenvironment

Re: [NTG-context] Spurious missing character reports

2018-12-10 Thread Hans Hagen
trates the problem. I do not understand now all the features interact to cause this, but the reports disappear upon removing any (such as the seemingly-redundant \definebodyfontenvironment or the \switchtobodyfont[small]). \enabletrackers [fonts.missing] \definebodyfontenviron

[NTG-context] Spurious missing character reports

2018-12-09 Thread Rik Kabel
interact to cause this, but the reports disappear upon removing any (such as the seemingly-redundant \definebodyfontenvironment or the \switchtobodyfont[small]). \enabletrackers [fonts.missing] \definebodyfontenvironment [11pt] [a=1] \definefontfallback [fb:eb

[NTG-context] moving the first line of a page to the previous page

2018-10-09 Thread mf
=, way=bypage, distance=1pt, location=page] \setupnote[ alternative=serried, paragraph=yes, bodyfont=small, inbetween=\penalty1{ }\emdash{}{ }\penalty-100, % \emdash{} location=page, before={\blank[glueOverFootnotes]}, height=10cm] \definebodyfontenvironment[11pt][interline

Re: [NTG-context] MS Office Chinese fonts in ConTeXt

2017-09-04 Thread Martin Bruchanov
, Attached is a better alternative (just replace the file in the distribution). \usetypescriptfile[mscore] \setupbodyfont [mschinese,12pt] \usebodyfont [mschinese-light,12pt] \definebodyfontenvironment[24pt] \definebodyfontenvironment[18pt] Hans

Re: [NTG-context] MS Office Chinese fonts in ConTeXt

2017-08-27 Thread Hans Hagen
Hi, Attached is a better alternative (just replace the file in the distribution). \usetypescriptfile[mscore] \setupbodyfont [mschinese,12pt] \usebodyfont [mschinese-light,12pt] \definebodyfontenvironment[24pt] \definebodyfontenvironment[18pt] Hans

Re: [NTG-context] MS Office Chinese fonts in ConTeXt

2017-08-27 Thread Hans Hagen
: \setupbodyfont [mschinese,12pt] \usebodyfont [mschinese-light,12pt] % preloads \definebodyfontenvironment[24pt] % prevents messages \definebodyfontenvironment[18pt] % prevents messages There is no need to enable utf. Your table now becomes: \bTABLEbody \bTR\bTD 华文宋体 \eTD\bTD \tt STSONG.TTF \eTD\bTD

[NTG-context] Problem with setup for fonts

2017-08-24 Thread Robert Blackstone
, probably the default TeX font. The same happens, m.m., when I replace Verdana with, for example, dejavu. %++MWE+++ \usemodule[simplefonts] \setmainfont[Verdana] \setupbodyfont[10pt] %\setupinterlinespace[line=18pt] \definebodyfontenvironment[10pt][interlinespace=19pt

Re: [NTG-context] A solved problem

2017-06-16 Thread Henri Menke
ich I defined very big font sizes. > \definefontsize[e] > \definebodyfontenvironment  [default] [e=4] > > One of them was \definefontsize[g] > > I changed it to \definefontsize[gg] and all went right again Cool.  Now try $\biggl($ > > The explanation (?) : maybe \big wa

[NTG-context] A solved problem

2017-06-16 Thread Eric Détrez
Hello Just a message to explain a problem I had and the answer. The trouble : the big parenthesis were not big, $($ and $\bigl($ gave the same shape The fix : I defined my own environment in which I defined very big font sizes. \definefontsize[e] \definebodyfontenvironment [default] [e=4

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Procházka Lukáš Ing .
size[z] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dumm

[NTG-context] Line numbering broken somehow?

2017-03-28 Thread Procházka Lukáš Ing .
] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text

Re: [NTG-context] mathsf / mathversions in context

2016-10-20 Thread Csikos Bela
r the opposite should happen, shouldn't? I am confused. >The x and xx perform not the same scaling as a, b etc. but you can >define your own sizes which behave the same way as a etc. > >\definefontsize[m] >\definefontsize[n] > >\definebodyfontenvironment[default][m=0.8,n=0.

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Hans Hagen
: \definebodyfontenvironment [\!!twelvepoint] [\s!text=\!!twelvepoint, \s!script=\!!ninepoint, \s!scriptscript=\!!sevenpoint, \s!x=\!!tenpoint, \s!xx=\!!eightpoint, \v!big=\!!fourteenpointfour, \v!small=\!!tenpoint] Wolfgang

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Pablo Rodriguez
On 10/17/2016 08:10 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 17. Oktober 2016 um 20:07 >> [...] >> If this isn’t a bug, what am I missing here? > > The default sizes (12pt, 11pt etc.) have fixed values for x and xx, you > can see them in font-pre.mkiv: >

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Wolfgang Schuster
e.mkiv: \definebodyfontenvironment [\!!twelvepoint] [\s!text=\!!twelvepoint, \s!script=\!!ninepoint, \s!scriptscript=\!!sevenpoint, \s!x=\!!tenpoint, \s!xx=\!!eightpoint, \v!big=\!!fourteenpointfour, \v!small=\!!tenpoint] Wo

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
On 10/16/2016 08:16 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 16. Oktober 2016 um 20:07 >> [...] >> Neither does it work now. > > Use \definebodyfontenvironment[17pt]. Many thanks for your fast reply, Wolfgang. It works as expected. Pablo

Re: [NTG-context] mathsf / mathversions in context

2016-10-16 Thread Wolfgang Schuster
pesets fonts. The x and xx perform not the same scaling as a, b etc. but you can define your own sizes which behave the same way as a etc. \definefontsize[m] \definefontsize[n] \definebodyfontenvironment[default][m=0.8,n=0.9] \starttext {\tfm This paragraph contains text and $math$.}

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Wolfgang Schuster
optext \stopbuffer \starttext \typesetbuffer[buffer:inside] \stoptext Neither does it work now. Use \definebodyfontenvironment[17pt]. Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] basic fontsizes question

2016-06-08 Thread Thomas Fehige
tch creates only a command which uses \switchtobodyfont with a fixed number of arguments. But this doesn't explain why \definebodyfontenvironment did not do anything in my MNWE. The fonts book is not very clear on its intended use. You put spaces before and after = whic

Re: [NTG-context] basic fontsizes question

2016-06-08 Thread Wolfgang Schuster
ommand \definebodyfontswitch and defined switches like \normalsize, \scriptsize, \large, \Large etc. The \definebodyfontswitch creates only a command which uses \switchtobodyfont with a fixed number of arguments. But this doesn't explain why \definebodyfontenvironment did not do anything in my MNWE. The font

Re: [NTG-context] basic fontsizes question

2016-06-08 Thread Thomas Fehige
bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x = 22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext

[NTG-context] basic fontsizes question

2016-06-07 Thread Thomas Fehige
he preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace

Re: [NTG-context] basic fontsizes question

2016-06-06 Thread Wolfgang Schuster
he example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace = 3ex, em = italic ] \setupbodyfont[palatino,24pt] \starttext

Re: [NTG-context] basic fontsizes question

2016-06-06 Thread Thomas Fehige
edit: Sorry, I meant the command \definebodyfontenvironment, of course, like in the code sample. Am 06.06.2016 um 16:05 schrieb Thomas Fehige: In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font

[NTG-context] basic fontsizes question

2016-06-06 Thread Thomas Fehige
he preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf). \definebodyfontenvironment[palatino][24pt][ text = 24pt, small = 22pt, x=22pt, scriptscript = 16pt, xx = 16pt, big=28pt, a = 80pt, % 28pt b = 40pt, c = 50pt, d = 50pt, interlinespace

Re: [NTG-context] definebodyfontenvironment

2016-05-16 Thread Wolfgang Schuster
switch to that size. It is part of a fontsize changing mechanism inside an xmlsetup. In short what I am doing is: \scratchdimen=\the\dimexpr\bodyfontsize\relax \advance\scratchdimen 'somevalue' \relax %\definebodyfontenvironment[\the\scratchdimen] \begingroup % must keep the change local \switchtobo

Re: [NTG-context] definebodyfontenvironment

2016-05-14 Thread Meer, Hans van der
. In short what I am doing is: \scratchdimen=\the\dimexpr\bodyfontsize\relax \advance\scratchdimen 'somevalue' \relax % \definebodyfontenvironment[\the\scratchdimen] \begingroup % must keep the change local \switchtobodyfont[\the\scratchdimen] ... \endgroup The commented out \definebodyfontenvironment

Re: [NTG-context] definebodyfontenvironment

2016-05-14 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 14. Mai 2016 um 17:55 I like to execute this statement \definebodyfontenvironment[somevalue] in order to avoid lots of error messages as such: fonts > bodyfont '8.0pt' is defined (can better be done global Is this definebodyfontenvironm

[NTG-context] definebodyfontenvironment

2016-05-14 Thread Meer, Hans van der
I like to execute this statement \definebodyfontenvironment[somevalue] in order to avoid lots of error messages as such: fonts > bodyfont '8.0pt' is defined (can better be done global Is this definebodyfontenvironment macro fully executed each time it is called or does ConTeXt remem

Re: [NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
I found how to make it work with \switchtobodyfont, I was missing \definebodyfontenvironment for the sizes. And I had (obviously) to update the \definebodyfont with the correct sizes. But still, \tfxx and so do not switch to correct font. Thanks, Antoine On 9 May 2016 at 11:23, Antoine

Re: [NTG-context] Garamond Premier Pro font goodies file

2016-05-02 Thread Wolfgang Schuster
t,12pt] \dostepwiserecurse {6} {22} {1} { \definebodyfontenvironment[default][#1pt][text=#1pt,em=italic] } \starttext \dostepwiserecurse {6} {22} {1} { \switchtobodyfont[#1pt] \purefontname\font: \input tufte \blank } \stoptext but it does not work. Any help? %\definefontfamily [default] [rm] [GaramondPrem

[NTG-context] Garamond Premier Pro font goodies file

2016-04-28 Thread massifr
} { \definebodyfontenvironment[default][#1pt][text=#1pt,em=italic] } \starttext \dostepwiserecurse {6} {22} {1} { \switchtobodyfont[#1pt] \purefontname\font: \input tufte \blank } \stoptext but it does not work. Any help? Thanks in advance, Massi To Hans: if you find it useful for Context

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
). You can drop the \definebodyfontenvironment line when you use \definefont to set the part fonts, e.g. \definefont[PartText][SerifBold sa 5] \setuphead[part][textstyle=PartText] On Mon, 22 Jun 2015 18:36:03 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: This method to set your

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Wolfgang Schuster
the attachment). You can drop the \definebodyfontenvironment line when you use \definefont to set the part fonts, e.g. \definefont[PartText][SerifBold sa 5] \setuphead[part][textstyle=PartText] On Mon, 22 Jun 2015 18:36:03 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: This method

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
}% } \definefontsize[e] \definebodyfontenvironment[default][e=5.] \define[1]\MyPartCmdNum{% \hbox to\hsize{\hfill \bfe\sc#1\hfill}% } \setuphead[part] [command=\MyPartCmd, numbercommand=\MyPartCmdText, textcommand=\MyPartCmdNum, placehead=yes,header=none,page=odd, before={\setupbackgrounds[page

[NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
{% {% \vbox to\vsize{% \vfill\vfill% #1 \blank[big] #2 \vfill\vfill\vfill% } }% } \define[1]\MyPartCmdText{% \hbox to\hsize{\hfill \bf DĂl #1\hfill}% } \definefontsize[e] \definebodyfontenvironment[default][e=5.] \define[1]\MyPartCmdNum{% \hbox

Re: [NTG-context] Problem with \framed align and orientation on landscape pages

2014-05-25 Thread Rik Kabel
is the proper description of the default. \setuppapersize [A5,landscape][A4] \definebodyfontenvironment [default][d=6] \showframe \starttext \framed[align=no]{\tfd 1} \page \framed[]{\tfd 2} \page \framed[orientation=90,align=no,width=\textheight]{\tfd 3

Re: [NTG-context] Problem with \framed align and orientation on landscape pages

2014-05-25 Thread Hans Hagen
is no, but I do not know what is the proper description of the default. \setuppapersize [A5,landscape][A4] \definebodyfontenvironment [default][d=6] \showframe \starttext \framed[align=no]{\tfd 1} \page \framed[]{\tfd 2} \page \framed[orientation=90,align=no,width

Re: [NTG-context] Problem with \framed align and orientation on landscape pages

2014-05-24 Thread Rik Kabel
is the fifth page. I would think that the wiki is incorrect in stating that the default value for the align key is no, but I do not know what is the proper description of the default. \setuppapersize [A5,landscape][A4] \definebodyfontenvironment [default][d=6] \showframe \starttext

Re: [NTG-context] Problem with \framed align and orientation on landscape pages

2014-05-24 Thread Aditya Mahajan
of the default. \setuppapersize [A5,landscape][A4] \definebodyfontenvironment [default][d=6] \showframe \starttext \framed[align=no]{\tfd 1} \page \framed[]{\tfd 2} \page \framed[orientation=90,align=no,width=\textheight]{\tfd 3} \page \framed[orientation=90,align=no]{\tfd 4} \page \framed

Re: [NTG-context] A new question on \definefallbackfamily

2014-04-30 Thread Mikael P. Sundqvist
Pagella Math][default] \definebodyfontenvironment[18pt] \setupbodyfont[lundface,18pt] \starttext {3 $3$} {\bf 3 $3$} \stoptext %%% I get the same behavior. Sometimes, the fourth 3 will become bold. This happens very randomly (sometimes I have to compile 10 times for it to happen). I compile

[NTG-context] A new question on \definefallbackfamily

2014-04-29 Thread Mikael P. Sundqvist
=style:normal,scale=0.92] \definefontfamily [lundfaces] [math] [TeX Gyre Pagella Math] \definebodyfontenvironment[18pt] \setupbodyfont[lundfaces,ss,18pt] \starttext {3 $3$} {\bf 3 $3$} \stoptext %%% END TEST FILE open source 1 1 /home/mickep/ConTeXt/tex/texmf-context/tex/context/base

Re: [NTG-context] Two questions on \definefallbackfamily

2014-04-27 Thread Wolfgang Schuster
[luface] [math] [Adobe Garamond Pro] [math:digitsnormal] \definefontfamily [luface] [math] [Tex Gyre Pagella Math] \definebodyfontenvironment[18pt] \setupbodyfont[luface,18pt] %%% it works well. What if I want to change TeX Gyre Pagella Math to Iwona? It turns out I cannot just change

[NTG-context] Two questions on \definefallbackfamily

2014-04-25 Thread Mikael P. Sundqvist
] [Tex Gyre Pagella Math] \definebodyfontenvironment[18pt] \setupbodyfont[luface,18pt] %%% it works well. What if I want to change TeX Gyre Pagella Math to Iwona? It turns out I cannot just change it to Iwona, iwona, Iwona Math, ... Other fonts seem to work, but Iwona no? 2) Say that I change

Re: [NTG-context] Selectfont: extend and slant features

2014-03-01 Thread Wolfgang Schuster
] \definefontfeature [narrow] [extend=0.75] \definefontfamily [one] [serif] [Latin Modern Roman] \definefontfamily [two] [serif] [Latin Modern Roman] [features={default,wide}] \definefontfamily [three] [serif] [Latin Modern Roman] [features={default,narrow}] \definebodyfontenvironment[50pt

Re: [NTG-context] Selectfont: extend and slant features

2014-03-01 Thread Hans Hagen
] \definefontfamily [one] [serif] [Latin Modern Roman] \definefontfamily [two] [serif] [Latin Modern Roman] [features={default,wide}] \definefontfamily [three] [serif] [Latin Modern Roman] [features={default,narrow}] \definebodyfontenvironment[50pt] \starttext \switchtobodyfont[one,50pt]Stretched

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-28 Thread Joshua Krämer
On 2014-02-26, 22:57, Wolfgang Schuster wrote: Add \definebodyfontenvironment[50pt] before \starttext. Thanks, that does the trick. Kind regards, Joshua ___ If your question is of interest to others as well

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-26 Thread Wolfgang Schuster
Gyre Termes] \setupbodyfont [firstfamily, 60pt] \starttext abc {\switchtobodyfont [secondfamily, 60pt] abc} abc abc {\switchtobodyfont [secondfamily, 50pt] abc} abc \stoptext Add \definebodyfontenvironment[50pt] before \starttext. Wolfgang

Re: [NTG-context] Euler with fallback

2014-02-16 Thread Sanjoy Mahajan
and Engineering_. It should also give the setup a thorough workout. But I can't quite get the preamble right. The test file below typesets text and math in palatino. \usetypescriptfile[euler-with-pagella] \definebodyfontenvironment[10.5pt] \setupbodyfont[palatino,10.5pt] \starttext \input knuth

Re: [NTG-context] Euler with fallback

2014-02-16 Thread Wolfgang Schuster
the typescript file for euler. \definebodyfontenvironment[10.5pt] \setupbodyfont[palatino,10.5pt] When you use the palatino typeface context uses only the pagella math fonts. To use palatino as text font and euler for math you have to create your own typeface collection: \usetypescriptfile[euler

[NTG-context] Ubuntu Light font

2014-01-27 Thread Flavien Lambert
] [ubuntulight] [math:digitsnormal][force=yes]\definefontfamily [mainface] [math] [TeX Gyre Pagella Math]\definebodyfontenvironment [11pt][a=12pt,b=14.4pt,c=17.3pt,d=32pt,interlinespace=13pt]\setupbodyfont[mainface,11pt]* but it does not work (it is ok if I use ubuntu instead of ubuntulight

Re: [NTG-context] Problem with units and problem with libraries

2013-09-05 Thread Tomas Hala
Hi, \definebodyfontenvironment works for the concrete fontsize, thanks, Wolfgang. But - even if I read the short documentation at the ctx-garden - I am still a bit confused, eg: \text[4.61pt] works automatically but \text[4.651pt] not, only with the defining command, similarly behave \text

Re: [NTG-context] Problem with units and problem with libraries

2013-09-04 Thread Wolfgang Schuster
Am 04.09.2013 um 19:07 schrieb Tomas Hala th...@pef.mendelu.cz: Hi all, recently I installed TeXlive 2013. In a document, I ran into the problem with font sizes: only points and ems operates properly in contrast to other units giving the basic (12pt) size. Add \definebodyfontenvironment

Re: [NTG-context] simplefonts doesn’t select the font

2013-08-08 Thread Wolfgang Schuster
the font without the simplefonts module. The problem with the wrong font can be solved by adding \definebodyfontenvironment[10.5pt] to the document. Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] Setup font size by dimension variable

2013-08-04 Thread Philipp Gesang
{20pt} \definebodyfontenvironment [\mainfontsize] \starttext TEXT \switchtobodyfont [\mainfontsize] TEXT 20pt \stoptext See this thread for some background info: http://www.mail-archive.com/ntg-context@ntg.nl/msg63901.html Best regards, Philipp pgpGIP_P7V63W.pgp Description

Re: [NTG-context] Setup font size by dimension variable

2013-08-04 Thread Philipp Gesang
dimensions but identifiers for predefined bodyfont sets. Example: \def\mainfontsize{20pt} \definebodyfontenvironment [\mainfontsize] \starttext TEXT \switchtobodyfont [\mainfontsize] TEXT 20pt \stoptext See this thread for some background info: http://www.mail

[NTG-context] [***SPAM***] Re: Setup font size by dimension variable

2013-08-04 Thread Dmitriy Tokarev
04.08.2013, 16:49, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de:  the size-related arguments to \switchtobodyfont and  \setupbodyfont aren’t real TeX dimensions but identifiers for  predefined bodyfont sets. Example:    \def\mainfontsize{20pt}    \definebodyfontenvironment

Re: [NTG-context] [dev-context] palatino at 10.5pt bold not found when using project structure w/ MkIV

2013-07-07 Thread Wolfgang Schuster
. Add \definebodyfontenvironment[10.5pt] to your document. Thanks, that fixes everything. On the theory of teaching a man to fish, how did you learn so much about making ConTeXt do just the right thing? 1. Use the normal and not the developer list for such a question. I thought it was a bug

Re: [NTG-context] [dev-context] palatino at 10.5pt bold not found when using project structure w/ MkIV

2013-07-06 Thread Wolfgang Schuster
and in Norbert's latest Debian packages--the problem happens in both. 1. Use the normal and not the developer list for such a question. 2. You can omit the \usetypescript line. 3. Move the \setupbodyfont setting *before* \startcomponent. 4. Add \definebodyfontenvironment[10.5pt] to your document

Re: [NTG-context] [dev-context] palatino at 10.5pt bold not found when using project structure w/ MkIV

2013-07-06 Thread Sanjoy Mahajan
by the project file. Should the \project project_file line be placed before the \startcomponent? Like this: \project project_file \startcomponent component_name If that's the recommended way, I can update http://wiki.contextgarden.net/Project_structure 4. Add \definebodyfontenvironment[10.5pt

Re: [NTG-context] Font size with Simplefonts

2013-04-12 Thread Wolfgang Schuster
by default (8pt, 12pt etc.) you should define a bodyfont environment first. \definebodyfontenvironment[11.5pt] Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] wiki page for \feature

2013-03-22 Thread Sietse Brouwer
] \stoptypescript \starttypescript [serif] [schola-preset] [size] \definebodyfont [35.8pt,29.8pt,24.8pt,20.7pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt] [rm] [tf=Serif sa 1] \stoptypescript \starttypescript [schola-default] \definebodyfontenvironment [schola-default

  1   2   3   >